package com.leo.erp.service;

import javax.servlet.http.HttpServletRequest;

import com.leo.erp.dto.RoleExecution;
import com.leo.erp.entity.Role;
import com.leo.erp.util.GlobalRuntimeException;

public interface RoleService {
	RoleExecution findUserRole();
	RoleExecution deleteRoleById(String ids);
	RoleExecution getRoleList(String name, int currentPage, int pageSize);
	RoleExecution addRole(Role role, HttpServletRequest request) throws GlobalRuntimeException;
	RoleExecution checkIsNameExist(String name);
	RoleExecution updateRole(int roleId, String name);
}
